package teleradiologia.service;

import teleradiologia.domain.Diagnosys;
import teleradiologia.domain.Doctor;
import teleradiologia.domain.Ordering;
import teleradiologia.repository.DiagnosysDao;

public interface DiagnosysManipulator {
	// simple CRUD operations
	long create(Diagnosys diagnosys, Doctor doctor, Ordering ordering);	 // create
	Diagnosys getById(long id);		 // read
	void update(Diagnosys diagnosys);	 // update
	void delete(Diagnosys diagnosys);	 // delete

	// IoC - setter
	public void setDiagnosysDao(DiagnosysDao diagnosysDao);
	
	Diagnosys getByIdOrdering(long idOrdering);
}
